package com.ruoyi.SuveryInterface.Imp.mapper;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.SuveryInterface.Imp.domain.SysLegalInfos;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author author
 * @since 2024-07-03
 */
public interface SysLegalInfosMapper extends BaseMapper<SysLegalInfos> {


    void insertSysLegal(@Param("legalInfos") List<JSONObject> legalInfos);


    List<SysLegalInfos> selectSysLegalInfosByCommercialId(Long commercialId);

    void insertBatchSysLegal(@Param("newLegalInfosList") List<SysLegalInfos> newLegalInfosList);
}
